package ar.com.ctrln.control.principal;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import ar.com.ctrln.persistence.model.sistema.dashboardPpal.Alerta;
import ar.com.ctrln.services.sistema.principal.GestorAlerta;

@Controller("consultarAlerta")
public class ConsultarAlerta {
	
	@Autowired
	private GestorAlerta gestorAlerta;
	
	public List<Alerta> listaAlerta(){
		
		return gestorAlerta.listarAlerta();
	}

}
